﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace XmlStudio.Tests {
    /// <summary>
    /// Common class for all the tests.
    /// </summary>
    public static class Common {
        private static string directoryPath = string.Empty;
        /// <summary>
        /// Path to Bible1.xml.
        /// </summary>
        public static string PathBible1 = Path.Combine(directoryPath, @"Bible1.xml");

        /// <summary>
        /// Path to shiporder.xml.
        /// </summary>
        public static string PathShiporder = Path.Combine(directoryPath, @"shiporder.xml");

        /// <summary>
        /// Path to shiporder.xsd.
        /// </summary>
        public static string PathShiporderXsd = Path.Combine(directoryPath, @"shiporder.xsd");

        /// <summary>
        /// Path to asloverlaps.xsd.
        /// </summary>
        public static string PathXsdTest1 = Path.Combine(directoryPath, @"asloverlaps.xsd");

        /// <summary>
        /// Path to fantom2.xsd.
        /// </summary>
        public static string PathXsdTest2 = Path.Combine(directoryPath, @"fantom2.xsd");

        /// <summary>
        /// Path to chr7.xsd.
        /// </summary>
        public static string PathXsdTest3 = Path.Combine(directoryPath, @"chr7.xsd");

        /// <summary>
        /// Path to bm.xsd.
        /// </summary>
        public static string PathXsdTest4 = Path.Combine(directoryPath, @"bm.xsd");

        /// <summary>
        /// Path to schema.xsd.
        /// </summary>
        public static string PathXsdTest5 = Path.Combine(directoryPath, @"schema.xsd");

        /// <summary>
        /// Path to Test1.xml. Correct xml file.
        /// </summary>
        public static string PathTest1 = Path.Combine(directoryPath, @"Test1.xml");

        /// <summary>
        /// Path to Test2.xml. Non well formed xml file.
        /// </summary>
        public static string PathTest2 = Path.Combine(directoryPath, @"Test2.xml");

        /// <summary>
        /// Path to Test3.xml. No root element.
        /// </summary>
        public static string PathTest3 = Path.Combine(directoryPath, @"Test3.xml");

        /// <summary>
        /// Path to Test4.xml. Elements with namespaces.
        /// </summary>
        public static string PathTest4 = Path.Combine(directoryPath, @"Test4.xml");

        /// <summary>
        /// Path to Test5.xml. Attributes with namespaces.
        /// </summary>
        public static string PathTest5 = Path.Combine(directoryPath, @"Test5.xml");

        /// <summary>
        /// Path to Test6.xml. Root element with 5 child nodes.
        /// </summary>
        public static string PathTest6 = Path.Combine(directoryPath, @"Test6.xml");

        /// <summary>
        /// Path to Test7.xml. Root element with 7 child nodes.
        /// </summary>
        public static string PathTest7 = Path.Combine(directoryPath, @"Test7.xml");

        /// <summary>
        /// Path to Test8.xml. Altered Test1.xml.
        /// </summary>
        public static string PathTest8 = Path.Combine(directoryPath, @"Test8.xml");

        /// <summary>
        /// Path to tsmt.xml.
        /// </summary>
        public static string PathTsmt = Path.Combine(directoryPath, @"tsmt.xml");
    }
}
